package com.ocean.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ocean.common.annotation.Excel;
import com.ocean.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 o_down_order
 * 
 * @author ocean
 * @date 2022-12-05
 */
public class ODownOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String createName;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 更新人名称 */
    @Excel(name = "更新人名称")
    private String updateName;

    /** 更新日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 下载单号 */
    @Excel(name = "下载单号")
    private String downNo;

    /** 任务单号 */
    @Excel(name = "任务单号")
    private String workNo;

    /** 资源地址 */
    @Excel(name = "资源地址")
    private String resourcePath;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** http虚拟路径 */
    @Excel(name = "http虚拟路径")
    private String virtualPath;

    /** 下载人 */
    @Excel(name = "下载人")
    private String userId;

    /** 下载完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下载完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date downEndDate;

    /** 下载开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下载开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date downBeginDate;

    /** 组织ID */
    @Excel(name = "组织ID")
    private String departId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setDownNo(String downNo) 
    {
        this.downNo = downNo;
    }

    public String getDownNo() 
    {
        return downNo;
    }
    public void setWorkNo(String workNo) 
    {
        this.workNo = workNo;
    }

    public String getWorkNo() 
    {
        return workNo;
    }
    public void setResourcePath(String resourcePath) 
    {
        this.resourcePath = resourcePath;
    }

    public String getResourcePath() 
    {
        return resourcePath;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setVirtualPath(String virtualPath) 
    {
        this.virtualPath = virtualPath;
    }

    public String getVirtualPath() 
    {
        return virtualPath;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setDownEndDate(Date downEndDate) 
    {
        this.downEndDate = downEndDate;
    }

    public Date getDownEndDate() 
    {
        return downEndDate;
    }
    public void setDownBeginDate(Date downBeginDate) 
    {
        this.downBeginDate = downBeginDate;
    }

    public Date getDownBeginDate() 
    {
        return downBeginDate;
    }
    public void setDepartId(String departId) 
    {
        this.departId = departId;
    }

    public String getDepartId() 
    {
        return departId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createName", getCreateName())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("updateName", getUpdateName())
            .append("updateBy", getUpdateBy())
            .append("updateDate", getUpdateDate())
            .append("downNo", getDownNo())
            .append("workNo", getWorkNo())
            .append("resourcePath", getResourcePath())
            .append("status", getStatus())
            .append("virtualPath", getVirtualPath())
            .append("userId", getUserId())
            .append("downEndDate", getDownEndDate())
            .append("downBeginDate", getDownBeginDate())
            .append("departId", getDepartId())
            .toString();
    }
}
